package com.bw.service;

import com.bw.bean.Movie;
import com.bw.dao.MovieDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class MovieServiceImpl implements MovieService{
    @Autowired
    MovieDao movieDao;

    @Override
    public List<Movie> getList1() {
        return movieDao.getList1();
    }

    @Override
    public List<Movie> getList2(String mname) {
        return movieDao.getList2(mname);
    }

    @Override
    public List<Movie> getList3() {
        return movieDao.getList3();
    }

    @Override
    public List<Movie> getList4(String name) {
        return movieDao.getList4(name);
    }
}
